const complete1 = () => {
  return {
    title: '您是孩子的？',
    range: ['父亲', '母亲', '本人', '亲戚']
  }
}

const complete2 = () => {
  return {
    title: '您孩子的身高是',
    range: []
  }
}

const complete3 = () => {
  return {
    title: '您孩子的学历是',
    range: []
  }
}

const complete4 = () => {
  return {
    title: '您孩子的收入是',
    range: []
  }
}

const complete5 = () => {
  return {
    title: '您孩子的房产情况是？',
    range: []
  }
}

const complete6 = () => {
  return {
    title: '您孩子的车辆情况是？',
    range: []
  }
}

const complete7 = () => {
  return {
    title: '您孩子的婚姻状态是？',
    range: ['未婚', '离婚未育', '离婚已育']
  }
}

const complete8 = () => {
  return {
    title: '您希望孩子何时结婚？',
    range: ['尽快结婚', '一到两年内结婚', '孩子满意就结婚']
  }
}

const complete9 = () => {
  return {
    title: '您孩子的家乡是'
  }
}
const complete10 = () => {
  return {
    title: '年龄要求'
  }
}

const complete11 = () => {
  return {
    title: '身高要求'
  }
}

const complete12 = () => {
  return {
    title: '学历要求',
    range: []
  }
}

export const pageConfig = curPage => {
  const pageObj = {
    relation: complete1(),
    height: complete2(),
    edu: complete3(),
    income: complete4(),
    house: complete5(),
    car: complete6(),
    marriage: complete7(),
    day_marr: complete8(),
    region: complete9(),
    mate_age: complete10(),
    mate_height: complete11(),
    mate_edu_val: complete12()
  }
  return pageObj[curPage]
}
